﻿using jSLCore.Client.Presentation.jBinding.Enum;

namespace jSLCore.Client.Presentation.jBinding
{
    public class EnumBinding : jBinding
    {
        public EnumBinding()
        {
            Construct();
        }
        
        public EnumBinding(string path) : base(path)
        {
            Construct();
        }


        private void Construct()
        {
            Converter = new jEnumConverter();
        }

        
        public string ClassName
        {
            get { return ((jEnumConverter) Converter).TypeName; }
            set { ((jEnumConverter) Converter).TypeName = value; }
        }
    }
}